package edu.fiu.cis.personalize.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

import edu.fiu.cis.personalize.shared.QueryResult;
import edu.fiu.cis.personalize.shared.User;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface PersonalizedSearchServiceAsync {

	void search(int userId, String query, AsyncCallback<QueryResult> callback);

	void clickGoogleDocument(int userId, int queryId, int documentId,
			AsyncCallback<Void> callback);

	void registerUser(int userId, AsyncCallback<User> callback);

}
